package com.yt.app.provider.service.impl;

import com.yt.app.core.interfaces.AppTopicService;
import com.yt.app.core.model.AppTopic;
import com.yt.app.provider.dao.AppTopicDao;
import com.yt.core.service.GenericServiceImpl;

public class AppTopicServiceImpl extends GenericServiceImpl<AppTopic, Long> implements AppTopicService {
	private AppTopicDao dao;

	public AppTopicServiceImpl() {
	}

	public AppTopicServiceImpl(AppTopicDao dao) {
		super(dao);
		this.dao = dao;
	}

	public void increateViewNum(Long topicId){
		this.dao.increateViewNum(topicId);
	}

}
